﻿/**
 * Created by zywy on 2023-10-07.
 * */

#ifndef MIDDLEWARE_WRAPPER_H
#define MIDDLEWARE_WRAPPER_H

/* use SOCKET across different platform */
#ifdef __unix__
using SOCKET = int;
#define INVALID_SOCKET -1
#elif defined(_WIN32)
#include <WinSock2.h>
#elif defined(_TMS320C6X)       // Ti6678
#include <ti/ndk/inc/netmain.h>
#endif

#endif
